package me.liuyu2783.dubbo.sample.dubbo;

import me.liuyu2783.dubbo.sample.http.HttpProtocol;
import me.liuyu2783.dubbo.sample.netty.NettyProtocal;

/**
 * me.liuyu2783.dubbo.sample.dubbo
 *
 * @author liuyu2783
 * @date 2020-3-3
 */
public class ProtocolFactory {

    public static  Protocol getProtocal(){
        if(false){
            return new NettyProtocal();
        }
        return new HttpProtocol();
    }
}
